package com.example.admin.startproject231.service;


import com.example.admin.startproject231.bean.WeatherResult;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
/**
 * Created by Admin on 2017/5/11.
 */

public interface WeatherService {
    //将接口的URL补充完整
    @GET("data/sk/{cityNumber}.html")
    //向API传参数
    Call<WeatherResult> getResult(@Path("cityNumber")String cityNumber);
}
